import Vue from 'vue'
import VueRouter from "vue-router";

export default new VueRouter({
    mode: 'history',
    routes: [
        {
            path: '/basis',
            name: 'basis',
            component: () => import('../view/basis/index')
        },
        {
            path: '/authority',
            name: 'authority',
            component: () => import('../view/authority/index')
        },
        {
            path: '*',
            redirect: '/basis'
        }
    ]
})
Vue.use(VueRouter)
